/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #333333;
    background-color: #F6F8FA;
    height: 100%;
}

ul, li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #2B7DE1;
}

button {
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

/* 应用容器样式 */
.app-container {
    max-width: 600px;
    margin: 0 auto;
    min-height: 100%;
    position: relative;
    padding-bottom: 70px; /* 底部导航高度 */
    background-color: #F6F8FA;
}

/* 欢迎区域样式 */
.welcome-section {
    background-color: #F6F8FA;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="200" viewBox="0 0 400 200"><rect width="400" height="200" fill="%23f6f8fa"/></svg>');
    background-size: cover;
    color: #333;
    padding: 10px 16px 20px;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    height: 24px;
    font-size: 12px;
}

.status-icons {
    display: flex;
    gap: 8px;
}

.welcome-text {
    font-size: 20px;
    font-weight: 600;
    margin-top: 15px;
    color: #333;
}

/* 当前任务卡片 */
.current-task-card {
    background-color: white;
    border-radius: 12px;
    margin: 0 16px 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.task-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5f5;
}

.task-header h3 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.close-icon {
    font-size: 18px;
    color: #999;
    cursor: pointer;
}

.task-content {
    display: flex;
    padding: 16px;
}

.task-image {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 16px;
}

.task-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.task-info {
    flex: 1;
}

.task-department {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
}

.task-time {
    font-size: 14px;
    color: #666;
}

/* 功能导航卡片 */
.function-nav-card {
    background-color: white;
    border-radius: 12px;
    margin: 0 16px 16px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.more-link {
    font-size: 13px;
    color: #2B7DE1;
}

.function-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.function-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.function-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: white;
    font-size: 24px;
}

.function-name {
    font-size: 12px;
    color: #333;
}

/* 护工推荐卡片 */
.recommendation-card {
    background-color: white;
    border-radius: 12px;
    margin: 0 16px 16px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nurse-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.nurse-item:last-child {
    border-bottom: none;
}

.nurse-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 16px;
}

.nurse-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nurse-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nurse-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.nurse-title {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.nurse-rating {
    display: flex;
    align-items: center;
}

.star {
    color: #FFCC00;
    margin-right: 4px;
}

.pagination-dots {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    gap: 6px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ddd;
}

.dot.active {
    background-color: #2B7DE1;
    width: 16px;
    border-radius: 3px;
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
    padding: 0 10px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #999;
    font-size: 10px;
    flex: 1;
}

.nav-icon {
    margin-bottom: 4px;
    font-size: 22px;
}

.nav-item.active {
    color: #2B7DE1;
}

.nav-btn {
    background-color: #4AC8FA;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(74, 200, 250, 0.3);
}

/* 卡片通用样式 */
.card {
    background-color: white;
    border-radius: 12px;
    margin: 0 16px 16px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card h2 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
    font-weight: 500;
}

/* 按钮样式 */
.btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
}

.btn-primary {
    background-color: #2B7DE1;
    color: white;
} 